<% content_for :content do %>
<div class="widget-body">
	<div class="panel-group smart-accordion-default" id="accordion">
		<% verion_files = [] %>
		<% Dir.foreach(VERSION_ROOT){|v| verion_files << v } %>
		<% verion_files.sort.reverse.each do |basename| %>
			<% unless [".",".."].include?(basename) %>
				<% file = File.new("#{VERSION_ROOT}/#{basename}", "r") %>
				<div class="panel panel-default">
					<div class="panel-heading">
						<h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#<%=basename.gsub('.','_')%>" class="collapsed"> <i class="fa fa-lg fa-angle-down pull-right"></i> <i class="fa fa-lg fa-angle-up pull-right"></i> <%= basename %> </a></h4>
					</div>
					<div id="<%=basename.gsub('.','_')%>" class="panel-collapse collapse">
						<div class="panel-body">
							<pre>
							<%= file.read() %>
						</div>
					</div>
				</div>
			<% end %>
		<% end %>

	</div>
</div>


<!-- end widget content -->
<% end %>